<html>
<head><meta charset="utf-8"><title>Debugging Crate Graph · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html">Debugging Crate Graph</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="244968268"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244968268" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nixon Enraght-Moony <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244968268">(Jul 05 2021 at 19:40)</a>:</h4>
<p>How would I debug the crate graph not showing up</p>
<p><a href="/user_uploads/4715/OigSkmproFmtpt12EqxBsJp5/image.png">image.png</a></p>
<div class="message_inline_image"><a href="/user_uploads/4715/OigSkmproFmtpt12EqxBsJp5/image.png" title="image.png"><img src="/user_uploads/4715/OigSkmproFmtpt12EqxBsJp5/image.png"></a></div>



<a name="244968721"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244968721" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244968721">(Jul 05 2021 at 19:47)</a>:</h4>
<p>You need GraphViz installed and added to PATH.</p>



<a name="244968910"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244968910" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nixon Enraght-Moony <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244968910">(Jul 05 2021 at 19:50)</a>:</h4>
<p><code>which dot</code> return <code>/usr/bin/dot</code>.<br>
<code>dot -V </code> returns <code>dot - graphviz version 2.44.0 (0)</code>. Is their anything else I need?</p>



<a name="244970580"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244970580" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244970580">(Jul 05 2021 at 20:14)</a>:</h4>
<p>how many crates does r-a index when starting?</p>



<a name="244971385"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244971385" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nixon Enraght-Moony <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244971385">(Jul 05 2021 at 20:25)</a>:</h4>
<p>302</p>



<a name="244971437"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244971437" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244971437">(Jul 05 2021 at 20:25)</a>:</h4>
<p>Ah, sorry. I couldn't zoom the screenshot or read the terminal. What if you enable the server trace (set it to verbose in preferences) and invoke it again?</p>



<a name="244972320"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Debugging%20Crate%20Graph/near/244972320" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nixon Enraght-Moony <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Debugging.20Crate.20Graph.html#244972320">(Jul 05 2021 at 20:37)</a>:</h4>
<p>Rebooting my mac fixed it, not sure why. Sorry for the disturbance, and thanks for your work on RA</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>